import { EntityObjectFactory } from './../entityObjectFactory';
var EntityObject = EntityObjectFactory.GetEntityObjectType();

export class Resource extends EntityObject<Resource>{
    constructor(ctx?) { super(ctx); }
    timeWhen: number;
    state: number; // 0,1,2
    updateId: string;
    type: string;
    uri: string;
    data: any;
    timeExpire?: number;
    terminalBindId: string;
    toString() { return "resources"; }
}